package com.panfeng.xcloud.boss.provider.member.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CalculationActiveReqDTO implements Serializable {

    @ApiModelProperty("任务id")
    @NotNull(message = "任务id不能为空")
    private Integer taskId;

    @ApiModelProperty("用户id")
    @NotBlank(message = "用户id不能为空")
    private String userId;

}
